package com.manage.func.article.model;

import java.io.Serializable;
import java.sql.Timestamp;

import com.manage.base.bean.Page;

/**
 * 新闻
 * @author ouyangyf
 */
public class ArticleBean extends Page
		implements Serializable {

	public static final long serialVersionUID = 1L;
	
	
	/**
	 * 查询关键字
	 */
	public String queryKey;
	
	/**
	 * 新闻编号
	 */
	public long articleId;
	
	/**
	 * 新闻文件http路径
	 */
	public String  httpPath;
	
	/**
	 * 新闻文件服务器路径
	 */
	public String  filePath;
	
	/**
	 * 列表中的小图片路径
	 */
	public String  previewPicture;
	
	/**
	 * 新闻标题
	 */
	public String  title;
	
	/**
	 * 新闻摘要
	 */
	public String  summary;
	
	/**
	 * 新闻内容
	 */
	public String  content;
	
	/**
	 * 新闻被阅读的数量
	 */
	public int  viewCount;
	
	/**
	 * 是否允许被评论
	 */
	public int  isComment;
	
	/**
	 * 新闻被评论的数量
	 */
	public int  commentCount;
	
	/**
	 * 状态：0 隐藏 1 显示
	 */
	public int status;
	
	/**
	 * 状态：0 未审核 1 审核通过 2审核未通过
	 */
	public int check;
	
	/**
	 * 新闻创建时间
	 */
	public String createTime;

	/**
	 * 新闻创建时间
	 * 前台传送时间起始和结束
	 */
	public String createTimeStringStart;
	public String createTimeStringEnd;

	/**
	 * 新闻创建时间
	 * 数据库查询
	 */
	public Timestamp createTimeStart;
	public Timestamp createTimeEnd;
	
	/**
	 * 新闻更新时间 
	 */
	public String updateTime;

	/**
	 * 新闻更新时间 
	 * 前台传送时间起始和结束
	 */
	public String updateTimeStringStart;
	public String updateTimeStringEnd;

	/**
	 * 新闻更新时间 
	 * 数据库查询
	 */
	public Timestamp updateTimeStart;
	public Timestamp updateTimeEnd;
	
	
	/**
	 * 新闻过期时间
	 */
	public String expireTime;
	
	
	/**
	 * 新闻过期时间
	 */
	public Timestamp expireTimeDb;

	/**
	 * 新闻过期时间
	 * 前台传送时间起始和结束
	 */
	public String expireTimeStringStart;
	public String expireTimeStringEnd;

	/**
	 * 新闻过期时间
	 * 数据库查询
	 */
	public Timestamp expireTimeStart;
	public Timestamp expireTimeEnd;
	
	/**
	 * 是否为轮播主页面的新闻
	 */
	public int isHomePage;
	
	/**
	 * 轮播主页面的新闻图片路径
	 */
	public String homePageImage;
	
	
	/**
	 * 是否为头条新闻
	 */
	public int isHeadline;
	
	/**
	 * 头条图片路径
	 */
	public String headlineImage;
	
	/**
	 * 是否置顶，0不置顶，1置顶
	 */
	public  int isTop;
	
	/**
	 * 新闻分类，关联外键
	 */
	public  String catalog;
	
	
	/**
	 * 新闻分类，关联外键
	 */
	public  String catalogName;
	
	/**
	 * 新闻创建人员编号
	 */
	public  long adminId;
	
	
	/**
	 * 新闻创建人员名称
	 */
	public  String adminName;

	/**
	 * 是否过期 0未过期，1过期
	 */
	public int expire;
	
	
	public String getQueryKey() {
		return queryKey;
	}

	public void setQueryKey(String queryKey) {
		this.queryKey = queryKey;
	}

	public long getArticleId() {
		return articleId;
	}

	public void setArticleId(long articleId) {
		this.articleId = articleId;
	}

	public String getHttpPath() {
		return httpPath;
	}

	public void setHttpPath(String httpPath) {
		this.httpPath = httpPath;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getPreviewPicture() {
		return previewPicture;
	}

	public void setPreviewPicture(String previewPicture) {
		this.previewPicture = previewPicture;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getViewCount() {
		return viewCount;
	}

	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getCheck() {
		return check;
	}

	public void setCheck(int check) {
		this.check = check;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateTimeStringStart() {
		return createTimeStringStart;
	}

	public void setCreateTimeStringStart(String createTimeStringStart) {
		this.createTimeStringStart = createTimeStringStart;
	}

	public String getCreateTimeStringEnd() {
		return createTimeStringEnd;
	}

	public void setCreateTimeStringEnd(String createTimeStringEnd) {
		this.createTimeStringEnd = createTimeStringEnd;
	}

	public Timestamp getCreateTimeStart() {
		return createTimeStart;
	}

	public void setCreateTimeStart(Timestamp createTimeStart) {
		this.createTimeStart = createTimeStart;
	}

	public Timestamp getCreateTimeEnd() {
		return createTimeEnd;
	}

	public void setCreateTimeEnd(Timestamp createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateTimeStringStart() {
		return updateTimeStringStart;
	}

	public void setUpdateTimeStringStart(String updateTimeStringStart) {
		this.updateTimeStringStart = updateTimeStringStart;
	}

	public String getUpdateTimeStringEnd() {
		return updateTimeStringEnd;
	}

	public void setUpdateTimeStringEnd(String updateTimeStringEnd) {
		this.updateTimeStringEnd = updateTimeStringEnd;
	}

	public Timestamp getUpdateTimeStart() {
		return updateTimeStart;
	}

	public void setUpdateTimeStart(Timestamp updateTimeStart) {
		this.updateTimeStart = updateTimeStart;
	}

	public Timestamp getUpdateTimeEnd() {
		return updateTimeEnd;
	}

	public void setUpdateTimeEnd(Timestamp updateTimeEnd) {
		this.updateTimeEnd = updateTimeEnd;
	}

	public String getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}

	public String getExpireTimeStringStart() {
		return expireTimeStringStart;
	}

	public void setExpireTimeStringStart(String expireTimeStringStart) {
		this.expireTimeStringStart = expireTimeStringStart;
	}

	public String getExpireTimeStringEnd() {
		return expireTimeStringEnd;
	}

	public void setExpireTimeStringEnd(String expireTimeStringEnd) {
		this.expireTimeStringEnd = expireTimeStringEnd;
	}

	public Timestamp getExpireTimeStart() {
		return expireTimeStart;
	}

	public void setExpireTimeStart(Timestamp expireTimeStart) {
		this.expireTimeStart = expireTimeStart;
	}

	public Timestamp getExpireTimeEnd() {
		return expireTimeEnd;
	}

	public void setExpireTimeEnd(Timestamp expireTimeEnd) {
		this.expireTimeEnd = expireTimeEnd;
	}

	public int getIsHomePage() {
		return isHomePage;
	}

	public void setIsHomePage(int isHomePage) {
		this.isHomePage = isHomePage;
	}

	public String getHomePageImage() {
		return homePageImage;
	}

	public void setHomePageImage(String homePageImage) {
		this.homePageImage = homePageImage;
	}

	public int getIsHeadline() {
		return isHeadline;
	}

	public void setIsHeadline(int isHeadline) {
		this.isHeadline = isHeadline;
	}

	public String getHeadlineImage() {
		return headlineImage;
	}

	public void setHeadlineImage(String headlineImage) {
		this.headlineImage = headlineImage;
	}

	public int getIsTop() {
		return isTop;
	}

	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}

	public String getCatalog() {
		return catalog;
	}

	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	public long getAdminId() {
		return adminId;
	}

	public void setAdminId(long adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public int getExpire() {
		return expire;
	}

	public void setExpire(int expire) {
		this.expire = expire;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Timestamp getExpireTimeDb() {
		return expireTimeDb;
	}

	public void setExpireTimeDb(Timestamp expireTimeDb) {
		this.expireTimeDb = expireTimeDb;
	}

	public String getCatalogName() {
		return catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}
	
	

}
